package com.ems.service;

import com.ems.entity.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
public interface ITOrderService extends IService<TOrder> {

    boolean dispatch(TOrder tOrder);

    boolean confirm(TOrder tOrder);

    List<TOrder> listDispatch();

    boolean finish(TOrder tOrder);

    Map<String, Object> detail();

    List<TOrder> getByOrderNumber(Integer orderId);
}
